package com.kgc.easyshopping.service;

import com.github.pagehelper.PageInfo;
import com.kgc.easyshopping.entity.Address;
import org.apache.commons.math3.analysis.function.Add;

import java.util.Map;

public interface AddressService {
    PageInfo<Address> selectPageInfo(Map<String,Object> params);

    Address selectByPrimaryKey(String aid);
    //增加
    String insert(Address address);
    //删除
    boolean deleteByPrimaryKey(String aid);
    //修改
    boolean updateByPrimaryKeySelective(Address record);

    boolean updateAddress(Address address);
}
